﻿namespace EyeOpen.Trial.Windows
{
	using System.ServiceModel;
	using System.ServiceModel.Channels;

	using EyeOpen.Trial.Service;

	public class ApplicationServiceProxy 
		: ClientBase<IApplicationService>, IApplicationService
	{
		public ApplicationServiceProxy(Binding binding, string remoteAddress) 
			: base(binding, new EndpointAddress(remoteAddress))
		{
		}

		public bool IsValid(string serial)
		{
			return this.Channel.IsValid(serial);
		}
	}
}